package com.tang.fileupload;

import java.util.ArrayList;
import java.util.Arrays;

public class test {

	public static void main(String[] args){
		ArrayList<Integer> arrayList = new ArrayList<>();
		arrayList.add(0);
		arrayList.add(1);
		int[] ints = arrayList.stream().mapToInt(Integer::intValue).toArray();
		System.out.println(Integer.reverse(1));
		System.out.println(Arrays.toString(ints));
	}
}
